package com.egg.mall.entity.tag;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.egg.common.core.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * @author east
 * @since 2023-05-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "mall_tag_spu")
@ApiModel(value = "TagSpu对象", description = "分组SPU表")
public class TagSpu extends BaseEntity {


    @ApiModelProperty(value = "公告标题")
    @TableField(value = "title")
    private String title;

    @ApiModelProperty(value = "1:一列一个,2:一列两个,3:一列三个")
    @TableField(value = "column_style")
    private Integer columnStyle;

    @ApiModelProperty(value = "排序，数字越大越靠前")
    @TableField(value = "sort")
    private Integer sort;


}
